package com.ruoyi.certificate.service;

import com.ruoyi.certificate.domain.DidCertificate;

import java.util.List;

public interface IDidCertificateService {
    DidCertificate generateCertificate(Long userId, String publicKey);

    DidCertificate getCertificate(Long id);

    List<DidCertificate> listCertificates();

    boolean revokeCertificate(Long id);
}
